import {ref} from 'vue'
export const useState = (sum:any)=>{
    let data2:any = ref(sum) 
   const setData = (value:any)=>{
    data2=value
    console.log(data2);
    
   }
   return [data2.value,setData]
}

// setData(5)